﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B1D RID: 2845
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MGHDFCDKBMC : IMessage<MGHDFCDKBMC>, IMessage, IEquatable<MGHDFCDKBMC>, IDeepCloneable<MGHDFCDKBMC>, IBufferMessage
	{
		// Token: 0x170023EF RID: 9199
		// (get) Token: 0x06007F57 RID: 32599 RVA: 0x00153FDB File Offset: 0x001521DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MGHDFCDKBMC> Parser
		{
			get
			{
				return MGHDFCDKBMC._parser;
			}
		}

		// Token: 0x170023F0 RID: 9200
		// (get) Token: 0x06007F58 RID: 32600 RVA: 0x00153FE2 File Offset: 0x001521E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MGHDFCDKBMCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170023F1 RID: 9201
		// (get) Token: 0x06007F59 RID: 32601 RVA: 0x00153FF4 File Offset: 0x001521F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MGHDFCDKBMC.Descriptor;
			}
		}

		// Token: 0x06007F5A RID: 32602 RVA: 0x00153FFB File Offset: 0x001521FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGHDFCDKBMC()
		{
		}

		// Token: 0x06007F5B RID: 32603 RVA: 0x00154004 File Offset: 0x00152204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGHDFCDKBMC(MGHDFCDKBMC other) : this()
		{
			this.iGADMJFCGCO_ = other.iGADMJFCGCO_;
			this.uniqueId_ = other.uniqueId_;
			this.itemId_ = other.itemId_;
			this.nPIDJACJPFN_ = other.nPIDJACJPFN_;
			this.hLCJKBONMOF_ = other.hLCJKBONMOF_;
			this.gAJFGDGOBCG_ = other.gAJFGDGOBCG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007F5C RID: 32604 RVA: 0x00154070 File Offset: 0x00152270
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGHDFCDKBMC Clone()
		{
			return new MGHDFCDKBMC(this);
		}

		// Token: 0x170023F2 RID: 9202
		// (get) Token: 0x06007F5D RID: 32605 RVA: 0x00154078 File Offset: 0x00152278
		// (set) Token: 0x06007F5E RID: 32606 RVA: 0x00154080 File Offset: 0x00152280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IGADMJFCGCO
		{
			get
			{
				return this.iGADMJFCGCO_;
			}
			set
			{
				this.iGADMJFCGCO_ = value;
			}
		}

		// Token: 0x170023F3 RID: 9203
		// (get) Token: 0x06007F5F RID: 32607 RVA: 0x00154089 File Offset: 0x00152289
		// (set) Token: 0x06007F60 RID: 32608 RVA: 0x00154091 File Offset: 0x00152291
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong UniqueId
		{
			get
			{
				return this.uniqueId_;
			}
			set
			{
				this.uniqueId_ = value;
			}
		}

		// Token: 0x170023F4 RID: 9204
		// (get) Token: 0x06007F61 RID: 32609 RVA: 0x0015409A File Offset: 0x0015229A
		// (set) Token: 0x06007F62 RID: 32610 RVA: 0x001540A2 File Offset: 0x001522A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x170023F5 RID: 9205
		// (get) Token: 0x06007F63 RID: 32611 RVA: 0x001540AB File Offset: 0x001522AB
		// (set) Token: 0x06007F64 RID: 32612 RVA: 0x001540B3 File Offset: 0x001522B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int NPIDJACJPFN
		{
			get
			{
				return this.nPIDJACJPFN_;
			}
			set
			{
				this.nPIDJACJPFN_ = value;
			}
		}

		// Token: 0x170023F6 RID: 9206
		// (get) Token: 0x06007F65 RID: 32613 RVA: 0x001540BC File Offset: 0x001522BC
		// (set) Token: 0x06007F66 RID: 32614 RVA: 0x001540C4 File Offset: 0x001522C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HLCJKBONMOF
		{
			get
			{
				return this.hLCJKBONMOF_;
			}
			set
			{
				this.hLCJKBONMOF_ = value;
			}
		}

		// Token: 0x170023F7 RID: 9207
		// (get) Token: 0x06007F67 RID: 32615 RVA: 0x001540CD File Offset: 0x001522CD
		// (set) Token: 0x06007F68 RID: 32616 RVA: 0x001540D5 File Offset: 0x001522D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int GAJFGDGOBCG
		{
			get
			{
				return this.gAJFGDGOBCG_;
			}
			set
			{
				this.gAJFGDGOBCG_ = value;
			}
		}

		// Token: 0x06007F69 RID: 32617 RVA: 0x001540DE File Offset: 0x001522DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MGHDFCDKBMC);
		}

		// Token: 0x06007F6A RID: 32618 RVA: 0x001540EC File Offset: 0x001522EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MGHDFCDKBMC other)
		{
			return other != null && (other == this || (this.IGADMJFCGCO == other.IGADMJFCGCO && this.UniqueId == other.UniqueId && this.ItemId == other.ItemId && this.NPIDJACJPFN == other.NPIDJACJPFN && this.HLCJKBONMOF == other.HLCJKBONMOF && this.GAJFGDGOBCG == other.GAJFGDGOBCG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007F6B RID: 32619 RVA: 0x00154178 File Offset: 0x00152378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IGADMJFCGCO != 0U)
			{
				num ^= this.IGADMJFCGCO.GetHashCode();
			}
			if (this.UniqueId != 0UL)
			{
				num ^= this.UniqueId.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this.NPIDJACJPFN != 0)
			{
				num ^= this.NPIDJACJPFN.GetHashCode();
			}
			if (this.HLCJKBONMOF != 0U)
			{
				num ^= this.HLCJKBONMOF.GetHashCode();
			}
			if (this.GAJFGDGOBCG != 0)
			{
				num ^= this.GAJFGDGOBCG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007F6C RID: 32620 RVA: 0x00154234 File Offset: 0x00152434
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007F6D RID: 32621 RVA: 0x0015423C File Offset: 0x0015243C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007F6E RID: 32622 RVA: 0x00154248 File Offset: 0x00152448
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NPIDJACJPFN != 0)
			{
				output.WriteRawTag(8);
				output.WriteInt32(this.NPIDJACJPFN);
			}
			if (this.HLCJKBONMOF != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.HLCJKBONMOF);
			}
			if (this.GAJFGDGOBCG != 0)
			{
				output.WriteRawTag(40);
				output.WriteInt32(this.GAJFGDGOBCG);
			}
			if (this.IGADMJFCGCO != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.IGADMJFCGCO);
			}
			if (this.UniqueId != 0UL)
			{
				output.WriteRawTag(104);
				output.WriteUInt64(this.UniqueId);
			}
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007F6F RID: 32623 RVA: 0x00154310 File Offset: 0x00152510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IGADMJFCGCO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IGADMJFCGCO);
			}
			if (this.UniqueId != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.UniqueId);
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this.NPIDJACJPFN != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.NPIDJACJPFN);
			}
			if (this.HLCJKBONMOF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HLCJKBONMOF);
			}
			if (this.GAJFGDGOBCG != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.GAJFGDGOBCG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007F70 RID: 32624 RVA: 0x001543C8 File Offset: 0x001525C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MGHDFCDKBMC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IGADMJFCGCO != 0U)
			{
				this.IGADMJFCGCO = other.IGADMJFCGCO;
			}
			if (other.UniqueId != 0UL)
			{
				this.UniqueId = other.UniqueId;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			if (other.NPIDJACJPFN != 0)
			{
				this.NPIDJACJPFN = other.NPIDJACJPFN;
			}
			if (other.HLCJKBONMOF != 0U)
			{
				this.HLCJKBONMOF = other.HLCJKBONMOF;
			}
			if (other.GAJFGDGOBCG != 0)
			{
				this.GAJFGDGOBCG = other.GAJFGDGOBCG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007F71 RID: 32625 RVA: 0x00154468 File Offset: 0x00152668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007F72 RID: 32626 RVA: 0x00154474 File Offset: 0x00152674
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 8U)
					{
						this.NPIDJACJPFN = input.ReadInt32();
						continue;
					}
					if (num == 24U)
					{
						this.HLCJKBONMOF = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.GAJFGDGOBCG = input.ReadInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.IGADMJFCGCO = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.UniqueId = input.ReadUInt64();
						continue;
					}
					if (num == 112U)
					{
						this.ItemId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040030BC RID: 12476
		private static readonly MessageParser<MGHDFCDKBMC> _parser = new MessageParser<MGHDFCDKBMC>(() => new MGHDFCDKBMC());

		// Token: 0x040030BD RID: 12477
		private UnknownFieldSet _unknownFields;

		// Token: 0x040030BE RID: 12478
		public const int IGADMJFCGCOFieldNumber = 11;

		// Token: 0x040030BF RID: 12479
		private uint iGADMJFCGCO_;

		// Token: 0x040030C0 RID: 12480
		public const int UniqueIdFieldNumber = 13;

		// Token: 0x040030C1 RID: 12481
		private ulong uniqueId_;

		// Token: 0x040030C2 RID: 12482
		public const int ItemIdFieldNumber = 14;

		// Token: 0x040030C3 RID: 12483
		private uint itemId_;

		// Token: 0x040030C4 RID: 12484
		public const int NPIDJACJPFNFieldNumber = 1;

		// Token: 0x040030C5 RID: 12485
		private int nPIDJACJPFN_;

		// Token: 0x040030C6 RID: 12486
		public const int HLCJKBONMOFFieldNumber = 3;

		// Token: 0x040030C7 RID: 12487
		private uint hLCJKBONMOF_;

		// Token: 0x040030C8 RID: 12488
		public const int GAJFGDGOBCGFieldNumber = 5;

		// Token: 0x040030C9 RID: 12489
		private int gAJFGDGOBCG_;
	}
}
